package com.pan.admin.module.loanUser.entity;

import com.pan.admin.common.annotation.Excel;
import com.pan.admin.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 用户贷款超市轨迹日志对象 loan_user_market_log
 *
 * @author ts
 * @date 2023-09-13
 */
public class LoanUserMarketLog extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 渠道主键id
     */
    @Excel(name = "渠道主键id")
    private Long loanChannelId;

    /**
     * 渠道名称
     */
    @Excel(name = "渠道名称")
    private String channelName;

    /**
     * 渠道链接
     */
    @Excel(name = "渠道链接")
    private String link;

    /**
     * 贷款超市id
     */
    @Excel(name = "贷款超市id")
    private Long loanMarketId;

    /**
     * 贷超名称
     */
    @Excel(name = "贷超名称")
    private String marketName;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long loanUserId;

    /**
     * 用户账户
     */
    @Excel(name = "用户账户")
    private String userName;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String phone;

    /**
     * 银行卡号
     */
    @Excel(name = "银行卡号")
    private String bankCard;

    /**
     * 身份证号
     */
    @Excel(name = "身份证号")
    private String idcard;

    /**
     * 地区编码
     */
    @Excel(name = "地区编码")
    private String areaCode;

    /**
     * IP地址
     */
    @Excel(name = "IP地址")
    private String ip;

    /**
     * 浏览器名
     */
    @Excel(name = "浏览器名")
    private String browserName;

    /**
     * 操作系统名
     */
    @Excel(name = "操作系统名")
    private String osName;

    /**
     * 设备类型
     */
    @Excel(name = "设备类型")
    private String deviceType;

    /**
     * 点击次数
     */
    @Excel(name = "点击次数")
    private Long count;


    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public String getMarketName() {
        return marketName;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public void setMarketName(String marketName) {
        this.marketName = marketName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getBankCard() {
        return bankCard;
    }

    public void setBankCard(String bankCard) {
        this.bankCard = bankCard;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setLoanChannelId(Long loanChannelId) {
        this.loanChannelId = loanChannelId;
    }

    public Long getLoanChannelId() {
        return loanChannelId;
    }

    public void setLoanMarketId(Long loanMarketId) {
        this.loanMarketId = loanMarketId;
    }

    public Long getLoanMarketId() {
        return loanMarketId;
    }

    public void setLoanUserId(Long loanUserId) {
        this.loanUserId = loanUserId;
    }

    public Long getLoanUserId() {
        return loanUserId;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getIp() {
        return ip;
    }

    public void setBrowserName(String browserName) {
        this.browserName = browserName;
    }

    public String getBrowserName() {
        return browserName;
    }

    public void setOsName(String osName) {
        this.osName = osName;
    }

    public String getOsName() {
        return osName;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getDeviceType() {
        return deviceType;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("loanChannelId", getLoanChannelId())
                .append("channelName", getChannelName())
                .append("loanMarketId", getLoanMarketId())
                .append("name", getMarketName())
                .append("loanUserId", getLoanUserId())
                .append("userName", getUserName())
                .append("phone", getPhone())
                .append("idCard", getIdcard())
                .append("bankCard", getBankCard())
                .append("areaCode", getAreaCode())
                .append("ip", getIp())
                .append("browserName", getBrowserName())
                .append("osName", getOsName())
                .append("deviceType", getDeviceType())
                .append("createTime", getCreateTime())
                .toString();
    }
}